package com.hm.pan.service;

import java.io.File;
import com.hm.pan.model.FileInfo;

public interface FileInfoService {

	/**
	 * 获得一个文件
	 */
	FileInfo getFileInfo(FileInfo filter) throws Exception;

	/**
	 * 获得文件的输入流
	 */
	File getFile(FileInfo filter) throws Exception;

	boolean insertFileInfo(FileInfo fileInfo);

}
